package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收费项目管理对象 zhwy_chargeitem
 * 
 * @author junEr
 * @date 2024-05-07
 */
public class ZhwyChargeitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    private Long id;

    /** 收费类型【数据字典--动态】 */
    @Excel(name = "收费类型【数据字典--动态】")
    private String type;

    /** 收费项目名 */
    @Excel(name = "收费项目名")
    private String name;

    /** 单价 */
    @Excel(name = "单价")
    private Long univalence;

    /** 收费方式【数据字典--】 */
    @Excel(name = "收费方式【数据字典--】")
    private Long mode;

    /** 计算公式 */
    @Excel(name = "计算公式")
    private String formula;

    /** 计算周期【数字 1-一个月 2-二个月 ...】 */
    @Excel(name = "计算周期【数字 1-一个月 2-二个月 ...】")
    private Long period;

    /** 滞纳金【0 不适合   1 适合】 -- 数据字典 */
    @Excel(name = "滞纳金【0 不适合   1 适合】 -- 数据字典")
    private Long latefee;

    /** 滞纳金比例【20%】 */
    @Excel(name = "滞纳金比例【20%】")
    private Double latefeeProportion;

    /** 滞纳金天数 */
    @Excel(name = "滞纳金天数")
    private Long latefeeDay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUnivalence(Long univalence) 
    {
        this.univalence = univalence;
    }

    public Long getUnivalence() 
    {
        return univalence;
    }
    public void setMode(Long mode) 
    {
        this.mode = mode;
    }

    public Long getMode() 
    {
        return mode;
    }
    public void setFormula(String formula) 
    {
        this.formula = formula;
    }

    public String getFormula() 
    {
        return formula;
    }
    public void setPeriod(Long period) 
    {
        this.period = period;
    }

    public Long getPeriod() 
    {
        return period;
    }
    public void setLatefee(Long latefee) 
    {
        this.latefee = latefee;
    }

    public Long getLatefee() 
    {
        return latefee;
    }
    public void setLatefeeProportion(Double latefeeProportion)
    {
        this.latefeeProportion = latefeeProportion;
    }

    public Double getLatefeeProportion()
    {
        return latefeeProportion;
    }
    public void setLatefeeDay(Long latefeeDay) 
    {
        this.latefeeDay = latefeeDay;
    }

    public Long getLatefeeDay() 
    {
        return latefeeDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("name", getName())
            .append("univalence", getUnivalence())
            .append("mode", getMode())
            .append("formula", getFormula())
            .append("period", getPeriod())
            .append("latefee", getLatefee())
            .append("latefeeProportion", getLatefeeProportion())
            .append("latefeeDay", getLatefeeDay())
            .toString();
    }
}
